package com.zyg.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@TableName("hostel")
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class Hostel {
    @TableId(value = "hostel_id",type = IdType.AUTO)
    private Integer hostelId;
    private String hostelName;
    private Grade grade;
    private Integer gradeId;


}
